package org.hxzon.configdesigner.web.pages;

import org.apache.tapestry5.EventConstants;
import org.apache.tapestry5.annotations.InjectPage;
import org.apache.tapestry5.annotations.OnEvent;
import org.hxzon.configdesigner.web.pages.base.PageBase;

public class Index extends PageBase {

    @InjectPage
    private View viewPage;

    @OnEvent(value = EventConstants.ACTIVATE)
    Object init() {
        return viewPage.withInit(0);
    }
}
